package com.eigaland.change_machine.business.setting

import com.eigaland.change_machine.APP
import com.eigland.eigaland_lib.base.BaseRepository

public class SettingFragmentRepository : BaseRepository(){

    suspend fun loadSettingConfig():List<SettingItemVM>{



        return arrayListOf<SettingItemVM>().apply {
            var printTicket = SettingItemVM().apply {
                this.name = "Print Ticket"
                this.isCheck = false }
            var printConcession = SettingItemVM().apply {
                this.name = "Print concession"
                this.isCheck = false
            }
            var printReceipt = SettingItemVM().apply {
                name = "Print receipt"
                isCheck = false
            }

            var redundhold = SettingItemVM().apply {
                name = "Refund and hold"
                isCheck = false
            }
            var memberFunction = SettingItemVM().apply {
                name = "Member function"
                isCheck = false
            }
            var movieTicket = SettingItemVM().apply {
                name = "Movie-ticket function"
                isCheck = false
            }
            var purchasing = SettingItemVM().apply {
                name = "Purchasing concession"
                isCheck = false
            }
            add(printTicket)
            add(printConcession)
            add(printReceipt)
            add(redundhold)
            add(memberFunction)
            add(movieTicket)
            add(purchasing)
        }
    }

}